package cn.chenhao.org.domain;

import cn.chenhao.basic.domain.BasicDomain;
import lombok.Data;

@Data
public class Employee extends BasicDomain {
    private String username;
    private String email;
    private String phone;
    private String salt;// 盐值，对密码加密用的
    private String password;// 加密后的密码，加密后你就看不懂了

    private String comfirmPassword;// 封装的两次输入密码是否相同的校验

    private Integer age;
    private Integer state;// 启用状态，1表示启用，0表示禁用
    // 关联属性
    private Department department;
    private Long logininfo_id;
    private Long shop_id;

}